package com.ruoyi.hatha.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.data.annotation.Transient;

/**
 * 课程管理对象 p_kecheng
 * 
 * @author ruoyi
 * @date 2023-12-30
 */
public class PKecheng extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 所属门店 */
    @Excel(name = "所属门店")
    private Long mid;

    /** 课程分类 */
    @Excel(name = "课程分类")
    private Long fid;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String name;

    /** 课程标签 */
    @Excel(name = "课程标签")
    private String tag;

    /** 课程价格 */
    @Excel(name = "课程价格")
    private BigDecimal jiage;

    /** 课程原价 */
    @Excel(name = "课程原价")
    private String yuanjia;

    /** 课程时间 */
    @Excel(name = "课程时间")
    private String time;

    /** 授课教师 */
    @Excel(name = "授课教师")
    private String teacher;

    /** 训练目的 */
    @Excel(name = "训练目的")
    private String mudi;

    /** 训练强度 */
    @Excel(name = "训练强度")
    private String qiangdu;

    /** 课程介绍 */
    @Excel(name = "课程介绍")
    private String jieshao;

    /** 课程图片 */
    @Excel(name = "课程图片")
    private String pic;

    /** 最大人数 */
    @Excel(name = "最大人数")
    private Integer peoples;
    @Excel(name = "是否扣费")
    private Integer kf;
    @Excel(name = "扣除金额")
    private String kcje;

    @Transient
    private Integer yyy;
    @Transient
    private Integer wyy;
    @Transient
    private Integer ygm;

    @Transient
    private Long mkid;
    @Transient
    private Long yid;

    @Transient
    private PMyvip myvip;

    public PMyvip getMyvip() {
        return myvip;
    }

    public void setMyvip(PMyvip myvip) {
        this.myvip = myvip;
    }

    public Integer getKf() {
        return kf;
    }

    public void setKf(Integer kf) {
        this.kf = kf;
    }

    public String getKcje() {
        return kcje;
    }

    public void setKcje(String kcje) {
        this.kcje = kcje;
    }

    public Long getYid() {
        return yid;
    }

    public void setYid(Long yid) {
        this.yid = yid;
    }

    public Long getMkid() {
        return mkid;
    }

    public void setMkid(Long mkid) {
        this.mkid = mkid;
    }

    public Integer getYyy() {
        return yyy;
    }

    public void setYyy(Integer yyy) {
        this.yyy = yyy;
    }

    public Integer getWyy() {
        return wyy;
    }

    public void setWyy(Integer wyy) {
        this.wyy = wyy;
    }

    public Integer getYgm() {
        return ygm;
    }

    public void setYgm(Integer ygm) {
        this.ygm = ygm;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMid(Long mid) 
    {
        this.mid = mid;
    }

    public Long getMid() 
    {
        return mid;
    }
    public void setFid(Long fid) 
    {
        this.fid = fid;
    }

    public Long getFid() 
    {
        return fid;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setTag(String tag) 
    {
        this.tag = tag;
    }

    public String getTag() 
    {
        return tag;
    }
    public void setJiage(BigDecimal jiage) 
    {
        this.jiage = jiage;
    }

    public BigDecimal getJiage() 
    {
        return jiage;
    }
    public void setYuanjia(String yuanjia) 
    {
        this.yuanjia = yuanjia;
    }

    public String getYuanjia() 
    {
        return yuanjia;
    }
    public void setTime(String time) 
    {
        this.time = time;
    }

    public String getTime() 
    {
        return time;
    }
    public void setTeacher(String teacher) 
    {
        this.teacher = teacher;
    }

    public String getTeacher() 
    {
        return teacher;
    }
    public void setMudi(String mudi) 
    {
        this.mudi = mudi;
    }

    public String getMudi() 
    {
        return mudi;
    }
    public void setQiangdu(String qiangdu) 
    {
        this.qiangdu = qiangdu;
    }

    public String getQiangdu() 
    {
        return qiangdu;
    }
    public void setJieshao(String jieshao) 
    {
        this.jieshao = jieshao;
    }

    public String getJieshao() 
    {
        return jieshao;
    }
    public void setPic(String pic) 
    {
        this.pic = pic;
    }

    public String getPic() 
    {
        return pic;
    }
    public void setPeoples(Integer peoples) 
    {
        this.peoples = peoples;
    }

    public Integer getPeoples() 
    {
        return peoples;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("mid", getMid())
            .append("fid", getFid())
            .append("name", getName())
            .append("tag", getTag())
            .append("jiage", getJiage())
            .append("yuanjia", getYuanjia())
            .append("time", getTime())
            .append("teacher", getTeacher())
            .append("mudi", getMudi())
            .append("qiangdu", getQiangdu())
            .append("jieshao", getJieshao())
            .append("pic", getPic())
            .append("peoples", getPeoples())
            .append("kf", getKf())
            .append("kcje", getKcje())
            .toString();
    }
}
